﻿using Microsoft.Extensions.DependencyInjection;

namespace HSGD.Extensions {
    public static class AutoMapperSetup {
        public static void AddAutoMapperSetup(this IServiceCollection services) {
            services.AddAutoMapper(typeof(AutoMapperConfig));
            AutoMapperConfig.RegisterMappings();
        }
    }
}